/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.tailor

/**
 *
 * @author Nguyen Hoang Minh
 */
class Design {
    long designID
    String designName
    BigDecimal price
    byte[] designPicture
    //byte[] photo02
    OtherAddOn otherAddOn
    Monogram monogram
    
    static constraints = {
        designID(blank:false, unique:true)
        designName(blank:false)
		designPicture(maxSize:50000000)
                //photo02(maxSize:50000000)
    }
    
	
}

